package com.weibo.berkeleydb;

import java.io.Serializable;

/**
 * Created by zhangzhen on 2017/1/11.
 */
public class Blog implements Serializable{

    private String wid;//微博id
    private String url;//微博url
    private String text;//微博内容

    public Blog() {
    }

    public Blog(String wid, String url, String text) {
        this.wid = wid;
        this.url = url;
        this.text = text;
    }

    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "Blog{" +
                "wid='" + wid + '\'' +
                ", url='" + url + '\'' +
                ", text='" + text + '\'' +
                '}';
    }
}
